#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Wed Jun 27 08:51:26 2018

@author: chenliheng
"""

# 接收输入一个字符串，判断是否是回文
str_content = input("请输入一串文本:")

#str_other = str_content[::-1]

if str_content[::-1] == str_content:
    print("\"%s\"是回文"%str_content)
else:
    print("\"%s\"不是回文"%str_content)